package c06.e27;
interface Inter<T>{
    public abstract void show(T t);
}
class Interimpl implements Inter<String>{
    //@Override帮助检查重写 是否正确
    public void show(String t ){
        System.out.println(t);
    }
}
public class E27{
    public static void main(String[] args) {
        Inter<String> inter = new Interimpl();
        inter.show("hello");
        inter.show(1);
    }
}